package com.thirdgroup.utils.respond;

/**
 * @BelongsProject: login_test
 * @BelongsPackage: com.zys.common
 * @Author: ZYS
 * @CreateTime: 2024-04-28  16:44
 * @Description: TODO
 */

public enum RHttpStatusEnum {

    SUCCESS(200,"success"),
    HTTP_NOT_FOUND(404,"未找到相关内容"),
    SERVER_ERROR( 500, "服务器发生错误，请稍后在试");

    private final int code;
    private final String message;
    RHttpStatusEnum(Integer code,String message){
        this.code=code;
        this.message=message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}


